<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>3d旋转效果</title>
    <style>
        body {
            perspective: 300px;
        }
        
        img {
            display: block;
            margin: 100px auto;
            animation: iu 2s linear infinite;
        }
        
        @keyframes iu {
            100% {
                transform: rotatey(360deg);
            }
        }
    </style>
</head>

<body>
    <img src="./石原里美.jpg" alt="" />
</body>

</html>